package com.yvtian.inv.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 生产补领料单(inv_supplementary_material_request)表实体类
 *
 * @author long
 * @since 2024-07-02 13:43:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inv_supplementary_material_request")
public class InvSupplementaryMaterialRequestEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 生产补领料单据编码
     */
    @TableField(value = "code")
    private String code;
    /**
     * 领料人
     */
    @TableField(value = "requested_username")
    private String requestedUsername;
    /**
     * 领料人账号
     */
    @TableField(value = "requested_account")
    private String requestedAccount;
    /**
     * 发放材料的人员
     */
    @TableField(value = "Issued_username")
    private String issuedUsername;
    /**
     * 发放材料的人员账号
     */
    @TableField(value = "Issued_account")
    private String issuedAccount;
    /**
     * 领料部门编码
     */
    @TableField(value = "req_dept_code")
    private String reqDeptCode;
    /**
     * 领料部门名称
     */
    @TableField(value = "req_dept_name")
    private String reqDeptName;
    /**
     * 加工单编码
     */
    @TableField(value = "inv_order_code")
    private String invOrderCode;
    /**
     * 领料仓库编码
     */
    @TableField(value = "stock_code")
    private String stockCode;
    /**
     * 领料仓库名称
     */
    @TableField(value = "stock_name")
    private String stockName;
    /**
     * 领取数量
     */
    @TableField(value = "req_quantity")
    private Integer reqQuantity;
    /**
     * 总金额
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 所属项目
     */
    @TableField(value = "project_code")
    private String projectCode;
    /**
     * 所属项目名称
     */
    @TableField(value = "project_name")
    private String projectName;
    /**
     * 0:未审核，1已审核
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 0:未删除，1已删除
     */
    @TableField(value = "is_del")
    private Integer isDel;
    @TableField(value = "del_time")
    private Date delTime;
    @TableField(value = "del_name")
    private String delName;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "create_name")
    private String createName;
    @TableField(value = "create_user")
    private String createUser;
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "update_name")
    private String updateName;
    @TableField(value = "update_user")
    private String updateUser;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;
    /**
     * 审核人员
     */
    @TableField(value = "check_name")
    private String checkName;
    /**
     * 审核人员ID
     */
    @TableField(value = "check_user")
    private String checkUser;
    /**
     * 审核时间
     */
    @TableField(value = "check_time")
    private Date checkTime;

    @TableField(exist = false)
    private ArrayList<InvSuMaterialRequestItemEntity> invSuMaterialRequestItemList;

}

